#include<bits/stdc++.h>
using namespace std;

int main()               //B2005. 字符输出练习
{
    cout << setw(3) << "*" << endl;
    cout << setw(2) << "*"<< "*" << "*" << endl;
    cout << "*****" << endl;
    cout << setw(2) << "*"<< "*" << "*" << endl;
    cout << setw(3) << "*" << endl;
    return 0;
}